package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.vo.PageInfo;
import com.tanhua.dubbo.server.vo.UserLocationVo;

/**
 * * @title: UserLocationApi
 *
 * @Author Philcan
 * @Date: 2021/8/18 16:00
 * @Version 1.0
 */
public interface UserLocationApi {
    Boolean updateUserLocation(Long userId, Double latitude, Double longitude, String address);

    UserLocationVo queryByUserId(Long userId);

    PageInfo<UserLocationVo> queryUserFromLocation(Double longitude,Double latitude,Double distance,Integer page,Integer pageSize);

}
